13 lines
432 B
Bash
13 lines
432 B
Bash
#!/bin/sh
|
|
# Sync your current repo with github, standard and novice way
|
|
# Commit to master branch
|
|
# Author : Himanshu Shekhar < https://github.com/himanshushekharb16/ >
|
|
# Code at : https://github.com/himanshushekharb16/MyScripts
|
|
|
|
# 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
|