- Clone project to local development system using
git clone
- Set up origin git remote using
git remote -v
- Set up upstream git remote using
git remote add <remote name> <URL of remote repo>
. This is done only the first time - Create a local branch for any new development
git branch <feature branch name>
and checkout the branchgit checkout <feature branch name>
- Develop and commit changes to the local branch
git status
,git add
,git commit -m "<Change log>"
,git log
- Get the most up to date version of the upstream code
git fetch upstream
- Rebase your changes onto upstream
git rebase upstream/master
. Usegit log
to check that your commit is the most recent. - Push the changes to your repo
git push origin <feature branch name>
- Go to your account in GitHub and submit the pull request.
-
Notifications
You must be signed in to change notification settings - Fork 0
jordissm/git-tutorial
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published