Last active
February 21, 2019 18:45
-
-
Save rcherara/6d91441c67bf585f32a1d5fc15e8ecb6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git init | |
$ git add . | |
$ git commit -m "First commit" | |
$ git remote add origin https://github.com/Reddah-Cherara/rcherara-api-book-go.git | |
$ git remote -v | |
$ git push -u origin master | |
$ git push --force https://github.com/Reddah-Cherara/rcherara-api-book-go.git | |
$ git push -u origin master | |
# Creating a feature branch | |
$ git checkout -b myfeature develop # Switched to a new branch "myfeature" | |
# Features may be merged into the develop branch to definitely add them to the upcoming release: | |
$ git checkout develop | |
Switched to branch 'develop' | |
$ git merge --no-ff myfeature | |
Updating ea1b82a..05e9557 | |
(Summary of changes) | |
$ git branch -d myfeature | |
Deleted branch myfeature (was 05e9557). | |
$ git push origin develop | |
$ git checkout -b release-1.2 develop # Switched to a new branch "release-1.2" | |
$ ./bump-version.sh 1.2 | |
$ git commit -a -m "Bumped version number to 1.2" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment