DEV Community

Discussion on: Linux's commands and tricks I'm using in my daily job as a developer

 
luanfonceca profile image
Luan Fonseca

A lot of git commands works with the -

Like:

(my-branch*) $ git checkout develop
Switched to branch 'develop'
Your branch is up-to-date with 'origin/develop'.

(develop*) $ git checkout my-branch
Switched to branch 'my-branch'

(my-branch*) $ git merge -
Already up-to-date.