3 ms·
Microtutorial for git: `git clone https://repository.url` https://repository.url` (download repository) `git checkout -b issue_XXX` (create new branch with th
by imtringued 9y ago
Microtutorial for git:
`git clone https://repository.url` https://repository.url` (download repository)
`git checkout -b issue_XXX` (create new branch with the name 'issue_XXX')
`vim README.MD` (edit a file)
`git add README.MD` (mark the file to be committed, `git reset README.MD` to unmark)
`git status` (see list of changed/marked files)
`git commit -m "Add Readme"` (create commit based on marked files)
`vim README.MD`
`git add README.MD`
`git commit -m "Fix Typo"`
`git checkout master` (switch to branch with name 'master')
`git merge --squash issue_XXX` (merge branch with name 'issue_XXX' into current branch (master), but stop before committing)
`git commit -m "Add Readme.MD"` (create a new commit)
`git push` (upload changes)