make the script more general
change the repo path to ~/ because the configs might as well lay in a different home directory. In addition I've add a variable which brings the user back to his starting point.
This commit is contained in:
parent
cc5b1f58d9
commit
44c512226f
|
@ -1,5 +1,7 @@
|
|||
#! /bin/bash
|
||||
cd /home/andreas/dot_files/
|
||||
directory=`pwd`
|
||||
cd ~/git_repos/dot_files/
|
||||
git add .
|
||||
git commit -m "update configs"
|
||||
git push
|
||||
cd $directory
|
||||
|
|
Reference in New Issue