Skip to content

Intro to Git #23

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Intro to Git #23

wants to merge 6 commits into from

Conversation

theishshah
Copy link
Member

Brief overview to get started with git

@theishshah theishshah mentioned this pull request Sep 19, 2017
@theishshah
Copy link
Member Author

Issue #22 done

---
title: Introduction to Git
category: git
---
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make an introduction to Git as a version control system, what a version control system is, how git is different.

1. Create or navigate to the directory you want under version control
2. Run ```git init``` to start tracking changes

### Checking out a Remote Repository
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Explain what a remote is

---
title: Introduction to Git
category: git
---
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general this should not be a list of commands but more an article

1. To send the changes from the head, run ```git push origin [branch name]```
2. If you did not clone an existing remote repo and want to push to one, add it by running ```git remote add origin [server]```

### Branching
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Explain branching and why you should do it

3. Delete branch by running ```git checkout -d [branch name]```
4. Make a branch available to others on a remote server by running ```git push origin [branch name]```

### Update and Merge
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Explain merging as a concept and merge conflicts as well


### Update and Merge
1. Update your local repo by running ```git pull```
2. Merge another branch into your current branch by running ```git merge [branch name]```
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Explain stashing

@Joshuad2uiuc
Copy link

Whats the status

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants