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 6ad2754

Browse files
📦 NEW: alias usage
1 parent 96118f7 commit 6ad2754

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

‎readme.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ function gacp() {
188188
# aliases
189189
alias gi='git init'
190190
alias gs='git status'
191+
alias ga='git add '
191192
alias gaa='git add .'
192193
alias gc='git commit -m '
193194
alias gp='git push'
@@ -238,6 +239,24 @@ gbp [branch_name]
238239
# To add, commit and push changes to the github
239240
gacp "commit-msg"
240241

242+
# initialize git
243+
gi
244+
245+
# check status
246+
gs
247+
248+
# stage untracked file
249+
ga [file_name]
250+
251+
# stage all untracked files
252+
gaa
253+
254+
# commit the changes
255+
gc "commit-msg"
256+
257+
# push changes to master
258+
gpm
259+
241260
```
242261

243262
` NOTE ` I extensively use [Emoji-log](https://github.com/ahmadawais/emoji-log) by [Ahmad Awais](http://github.com/ahmadawais) in my commit msgs. I would highly recommend you to take a look at its [workflows](https://github.com/ahmadawais/emoji-log###THE%20WORKFLOW%20&%20MEANINGS).

0 commit comments

Comments
(0)

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