Skip to content

Instantly share code, notes, and snippets.

View ahmadhasankhan's full-sized avatar
👨‍💻
💯

Ahmad Hassan ahmadhasankhan

👨‍💻
💯
View GitHub Profile
@ahmadhasankhan
ahmadhasankhan / gitflow-breakdown.md
Created May 28, 2018 10:06 — forked from JamesMGreene/gitflow-breakdown.md
A comparison of using `git flow` commands versus raw `git` commands.

Initialize

gitflow git
git flow init git init
  git commit --allow-empty -m "Initial commit"
  git checkout -b develop master

Connect to the remote repository

@ahmadhasankhan
ahmadhasankhan / 1_user.rb
Last active November 26, 2017 19:24 — forked from ericktai/1_user.rb
class User < ApplicationRecord
has_many :posts
has_many :comments
# id :integer not null, primary key
# name :string(50) default("")
end
@ahmadhasankhan
ahmadhasankhan / multiple_ssh_setting.md
Created November 25, 2017 08:02 — forked from jexchan/multiple_ssh_setting.md
Multiple SSH keys for different github accounts

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"