Skip to content

Commit 88ec24e

Browse files
committed
Merge pull request UWPCE-PythonCert#18 from deluxicon/master
Pull request to student file Interesting -- good idea to script the basic stuff!
2 parents a795cb0 + 5508f06 commit 88ec24e

1 file changed

Lines changed: 41 additions & 0 deletions

File tree

‎Students/brydavis/start‎

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
#!/usr/bin/env bash
2+
3+
4+
# # Set aliases
5+
# alias ux='chmod u+x';
6+
# alias ax='chmod a+x';
7+
8+
9+
# # Begin work session
10+
git checkout master;
11+
git fetch upstream master;
12+
git merge upstream/master;
13+
git push;
14+
15+
16+
# Print when ready to develop
17+
git status;
18+
echo;
19+
echo 'Ready to develop!';
20+
echo 'Please proceed...';
21+
22+
23+
commit_work () {
24+
git commit -m 'another update';
25+
git push;
26+
}
27+
28+
# # End work session
29+
end_work () {
30+
echo 'Pusing git...';
31+
git push origin master;
32+
echo 'Push complete!';
33+
echo 'Goodbye ~';
34+
}
35+
36+
37+
alias endwork=end_work;
38+
39+
40+
41+

0 commit comments

Comments
 (0)