Skip to content

Instantly share code, notes, and snippets.

Avatar
💻
trying to exit vim

rajat mehndiratta rajatscode

💻
trying to exit vim
View GitHub Profile
View .gitconfig
[alias]
##
# One letter alias for our most frequent commands.
#
# Guidelines: these aliases do not use options, because we want
# these aliases to be easy to compose and use in many ways.
##
a = add
@alexpchin
alexpchin / Setting_upa_new_repo.md
Last active Nov 30, 2022
Create a new repository on the command line
View Setting_upa_new_repo.md

Setting up a new Git Repo

##Create a new repository on the command line

touch README.md
git init
git add README.md
git commit -m "first commit"

git remote add origin git@github.com:alexpchin/.git

@jexchan
jexchan / multiple_ssh_setting.md
Created Apr 10, 2012
Multiple SSH keys for different github accounts
View multiple_ssh_setting.md

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "your_email@youremail.com"