Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 7c00edf

Browse files
📦 NEW: alias
1 parent 5d936cc commit 7c00edf

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

‎readme.md‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,8 @@ alias ga='git add '
192192
alias gaa='git add .'
193193
alias gc='git commit -m '
194194
alias gp='git push'
195-
alias gpm='git push origin master'
195+
alias gra='git remote add origin '
196+
alias gpm='git push -u origin master'
196197

197198
# create YOUR own git workflows
198199
function [functionName]() {
@@ -254,6 +255,9 @@ gaa
254255
# commit the changes
255256
gc "commit-msg"
256257

258+
# connect remote repo to the local repo
259+
gra [repo-link]
260+
257261
# push changes to master
258262
gpm
259263

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /