It may seems too hacky and maybe require some kind of git plugin.
What i'm trying to do is to clone a github page to :githubsername/:repoName
for example
git clone 'git@github.com:bekicot/assignment_rss.git
would result to clone the repo to assignment_rss
directory. I want it to automatically clone it to bekicot/assignment_rss
.
This is what i currently do
git clone 'git@github.com:bekicot/assignment_rss.git bekicot/assignment_rss
As you can see, it require more character.
Are there any simplified way or maybe git settings that hook to the git clone and overrides the cloning default settings ?