Sezayir Dağtekin Blog
To delete a local branch
git branch -d the_local_branch
To remove a remote branch (if you know what you are doing!) 10 more words
5 days, 18 hours ago
git tag -a 1.0.0 -m "Release of version 1.0.0"
git tag -a 1.0.0 -m
"Release of version 1.0.0"
git push --tags
2 weeks, 2 days ago
You can also use ls-remote option to list remote repositories without updating your remote-tracking branches.
$ git ls-remote
Now use following command to list all branches on local and all remote repositories.
$ git branch -a
2 weeks, 6 days ago
My Daily Techs
Here are some git commands concerning the manipulation of branchs.
# List all the remote branchs
# Checkout a remote branch
$ git checkout -b my_local_branch origin/my_remote_branch
… 11 more words
1 month ago
To start a git project, it is better to know some useful commands in order to understand how it works. This article allows me to memory some useful git commands. 399 more words
2 months ago
Devving on Windows is a PITA.
Anyway, ever seen a message like this?
warning: LF will be replaced by CRLF in tests/unit/Del/Console/CommandTest.php.
The file will have its original line endings in your working directory. 43 more words
git commit --amend -m "updated message"
2 months, 1 week ago