Smart Group Commands are a series of short shell scripts that helps you stay productive. With these commands, you just have to hit less than 5 keys rather than lengthy commands, to get the job done.
Currently, I’ve included shortcuts to work with some of the most commonly used Git operations. But there’s more in the pipeline for this project.
Commands
- Simple Add, Commit, and Push
The above command derives
2. Commit and push to upstream
The above command derives
3. Commit and push to gh-pages
The above command derives
4. Fetch and merge from origin master
The above command derives
git fetch origin master git merge origin/master
5. Fetch and merge from upstream master
sgc fu
The above command derives
git fetch upstream master git merge upstream/master
6. Bundle and bower install (Rails Users)
sgc bi
The above command derives
bundle install bower install
Installation
sgc comes with simple installation, run the following wget or curl to install.
wget
wget -O - https://raw.githubusercontent.com/varun-raj/sgc/master/install.sh | bash
curl
curl -s https://raw.githubusercontent.com/varun-raj/sgc/master/install.sh | bash
For Contributing
- Clone the repo : git clone https://github.com/varun-raj/sgc.git
- Go to the folder cd sgc
- Hack into sgc file.
Subscribe to our newsletter
Get the latest updates from our team delivered directly to your inbox.
Related Posts
10 Gems in Ruby that you will love
Let's go back to basics with Ruby on Rails and see some of the Gems that we use everyday at skcript. #StartWithSkcript
#100DaysOfCommits
Our CTO, Swaathi, talks about our commitment to the #100DaysOfCommit challenge. Join us.
18 Python packages you should be using right now
Let us look at some python packages that will get you started on your machine learning path #StartWithSkcript