Sign in

Simple bash commands to help with forking repo’s and pushing commits.

In this article, I will show you how we can create custom shell commands for automating forking assignments and pushing commits. These commands will help us focus on other productive things by saving our time. This is a very easy setup and will provide further insight into creating your own commands from highly useful to just for fun ones.

1. Open your bash profile

Open Terminal or Linux Shell, and enter the following commands in your terminal:

$ cd ~
$ ls -a

The commands navigate to the root directory, and the second prints out all of the files saved there.

2. Creating custom command file

To create…


Software Engineer | My world revolves around Tech, Music, & Sports. Linkedin: Github:

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store