Results: 1580
Notes
  • Newest first
  • Oldest first
  • Newest first(All)
  • Oldest first(All)
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
4 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
4 years ago
0
Git
1
Opens the file in git console
vim test.txt
by Valeri Tandilashvili
4 years ago
0
Git
1
Shows staged changes
git diff --staged
The alternative command is:
git diff --cached
by Valeri Tandilashvili
4 years ago
0
Git
1
Shows the difference between the working directory and index (both staged and unstaged files)
git diff HEAD
by Valeri Tandilashvili
4 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
4 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
4 years ago
0
Git
1
Stops the bisect process
git bisect reset
by Valeri Tandilashvili
4 years ago
0
Git
1
Moves
file.php
to
src
directory (if the directory does not exist, the file will be renamed to
src
)
git mv file.php src
file.php
will be moved to
src/
directory (if the destination directory does not exist, git will throw the error:
destination directory does not exist..
git mv file.php src/
After running the command, status of the file will be
renamed
, but if we did it manually, git will identify the operation as
deleted
and
new file
by Valeri Tandilashvili
4 years ago
0
Git
Git tutorial
1
The
install
command reads the
composer.json
file from the current directory, resolves the dependencies, and installs them into
vendor
composer install  /  composer i
If
composer.lock
file exists, installs exactly what's specified in this file Otherwise 1. Reads
composer.json
file to look out what dependencies needs to be installed 2. Writes the composer.lock with the information of the project (installed dependencies)
by Valeri Tandilashvili
4 years ago
0
Composer
Composer official doc
1
Results: 1580