Skip to content

Instantly share code, notes, and snippets.

👨‍💻
💯

Ahmad Hassan ahmadhasankhan

👨‍💻
💯
Block or report user

Report or block ahmadhasankhan

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@ahmadhasankhan
ahmadhasankhan / multiple_ssh_setting.md
Created Nov 25, 2017 — forked from jexchan/multiple_ssh_setting.md
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"
View 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 / gitflow-breakdown.md
Created May 28, 2018 — forked from JamesMGreene/gitflow-breakdown.md
A comparison of using `git flow` commands versus raw `git` commands.
View gitflow-breakdown.md

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

You can’t perform that action at this time.