Category Archives: Git

Adding SSH Keys

Generate key: ssh-keygen -t rsa -b 4096 Generating public/private rsa key pair. Enter file in which to save the key (/home/uzza/.ssh/id_rsa): your_key_name Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in your_key_name. Your public key has been saved in The key fingerprint is: 30:c4:21:b3:2d:33:f7:00:f2:7b:24:1b:18:29:2c:31 uzza@Uzza-mint The key’s… Read More »

Git Autocompletion

Create a .git_settings directory in (actually you can choose any): Users/username/ copy following file from git sources: git_source_files/contrib/completion/git-completion.bash execute following command to edit bashrc file: mate /etc/bashrc and add following lines: #git autocompletion source ~/.git_settings/git-completion.bash Now you can go to your repository and type: git st<tab>