Nelson Mandela's autobio added
This commit is contained in:
11
githubsync.sh
Normal file
11
githubsync.sh
Normal file
@@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
# Sync your current repo with github, standard and novice way
|
||||
# Commit to master branch
|
||||
# Author : Himanshu Shekhar < https://github.com/himanshushekharb16 >
|
||||
|
||||
# read -p "Enter directory location to sync with github : " dirname
|
||||
# cd $dirname
|
||||
git add -A
|
||||
read -r -p "Enter any commit message (if any) : " commsg
|
||||
git commit -m "$commsg"
|
||||
git push -u origin master
|
||||
Reference in New Issue
Block a user