Results: 1578
Notes
  • Newest first
  • Oldest first
  • Newest first(All)
  • Oldest first(All)
Stops the bisect process
git bisect reset
by Valeri Tandilashvili
5 years ago
0
Git
1
The bisect process needs to know which commit is our known bad commit
git bisect bad urhsn47f
If we don't specify the known bad commit it will assume the last commit
git bisect bad
by Valeri Tandilashvili
5 years ago
0
Git
1
The bisect process needs to know which commit is our known good commit
git bisect good d5b370ec
by Valeri Tandilashvili
5 years ago
0
Git
1
Starts the process
git bisect start
by Valeri Tandilashvili
5 years ago
0
Git
0
Shows the difference between the working directory and index (both staged and unstaged files)
git diff HEAD
by Valeri Tandilashvili
5 years ago
0
Git
1
Shows staged changes
git diff --staged
The alternative command is:
git diff --cached
by Valeri Tandilashvili
5 years ago
0
Git
1
Opens the file in git console
vim test.txt
by Valeri Tandilashvili
5 years ago
0
Git
1
When we merge, if there are conflicts and we don't want to finish it, the best way is to abort the operation
git merge --abort
by Valeri Tandilashvili
5 years ago
0
Git
1
We can add part of changes (from the same file) to the staging area and not to add the rest of the changes
git add -p
It will ask us interactively whether we want to add each individual changes to the staging area or not
y
means yes,
n
means no
by Valeri Tandilashvili
5 years ago
0
Git
0
Adds user email for the current local repository (to the local config)
git config --local user.email "tandilashvilivaleri@gmail.com"
After the command execution, In local
config
file located at
.git/config
will be added the following
[user]
        email = tandilashvilivaleri@gmail.com
git config
defaults to
--local
by Valeri Tandilashvili
5 years ago
0
Git
1
Results: 1578