Skip to content

Instantly share code, notes, and snippets.

💾
:wq

Cédric Aellen alienlebarge

💾
:wq
Block or report user

Report or block alienlebarge

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View git: reset.sh.txt
# Remove file from the index without changing anything else.
git reset <file>
# Remove all files
git reset
View git flow: getting a published feature.sh
# Get a feature published by another user.
git flow feature pull origin MYFEATURE
# You can track a feature on origin by using
git flow feature track MYFEATURE
View git flow: start a release.sh
# To start a release, use the git flow release command. It creates a release branch created from the 'develop' branch.
# You can optionally supply a [BASE] commit sha-1 hash to start the release from. The commit must be on the 'develop' branch.
git flow release start RELEASE [BASE]
View git flow: publish a release.sh
git flow release publish RELEASE
# You can track a remote release with the command
git flow release track RELEASE
View git flow: finish up a release.sh
git flow release finish RELEASE
# Don't forget to push your tags with
git push origin --tags
View git flow: start a hotfix.sh
# The version argument hereby marks the new hotfix release name. Optionally you can specify a basename to start from.
git flow hotfix start VERSION [BASENAME]
You can’t perform that action at this time.