This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget https://release.gitkraken.com/linux/gitkraken-amd64.deb | |
sudo dpkg -i gitkraken-amd64.deb |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install putty-tools | |
puttygen id_dsa.ppk -O private-openssh -o id_dsa | |
puttygen id_dsa.ppk -O public-openssh -o id_dsa.pub | |
mkdir -p ~/.ssh | |
mv -i ~/id_dsa* ~/.ssh | |
chmod 600 ~/.ssh/id_dsa | |
chmod 666 ~/.ssh/id_dsa.pub | |
chmod 666 ~/.ssh/known_hosts |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Listar commits: | |
git log --pretty=oneline | |
git log --pretty=format:"%h - %an, %ar : %s" | |
Ir para um commit específico: | |
git reset --hard 33145a2d8e2d767ec7a8e04d46e2926883c02d99 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git fetch --all | |
git reset --hard | |
git pull origin <your_branch> | |
git stash save --keep-index --include-untracked | |
# Apagar arquivos que não monitorados: | |
git clean -df |
OlderNewer