Guest User

Untitled

a guest
Aug 3rd, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.74 KB | None | 0 0
  1. /httpdocs/whatever/public
  2.  
  3. /httpdocs/public
  4.  
  5. git clone git@github.com:whatever folder-name
  6.  
  7. git clone git@github.com:whatever .
  8.  
  9. git clone git@github.com:whatever .
  10.  
  11. git init
  12. git remote add origin PATH/TO/REPO
  13. git fetch
  14. git checkout -t origin/master
  15.  
  16. git clone [url]
  17.  
  18. $ git clone git://github.com/SU-SWS/open_framework.git
  19.  
  20. $ git clone git:github.com/SU-SWS/open_framework.git mynewtheme
  21.  
  22. git clone git@jittre.unfuddle.com:jittre/name.git
  23.  
  24. git clone -b [branch-name] git@jittre.unfuddle.com:jittre/name.git
  25.  
  26. git clone https://github.com/example/example.git ./
  27.  
  28. git -C /httpdocs clone git@github.com:whatever
  29.  
  30. git git@github.com:whatever .
  31.  
  32. git clone <repository>
  33.  
  34. git clone <repo> <directory>
  35.  
  36. $ cd ~Downloads/git; git clone https:git.foo/poo.git
  37.  
  38. $ cd ~/.oh-my-zsh/
  39. $ cd plugins/
  40. $ mkdir your-aliases-folder-name; cd your-aliases-folder-name
  41. # In my case '~/.oh-my-zsh/plugins/ev-aliases/ev-aliases'
  42. $ leafpad your-zsh-aliases.plugin.zsh
  43. # Again, in my case 'ev-aliases.plugin.zsh'
  44.  
  45. # Git aliases
  46. alias gc="cd ~/Downloads/git; git clone "
  47.  
  48. ## Ev's Aliases
  49.  
  50. #### Remember to re-source zsh after making any changes with these commands:
  51.  
  52. #### These commands should also work, assuming ev-aliases have already been sourced before:
  53.  
  54. allsource="source $ZSH/oh-my-zsh.sh ; source /home/ev/.oh-my-zsh/plugins/ev-aliases/ev-aliases.plugin.zsh; clear"
  55. sourceall="source $ZSH/oh-my-zsh.sh ; source /home/ev/.oh-my-zsh/plugins/ev-aliases/ev-aliases.plugin.zsh"
  56. ####
  57.  
  58. ####################################
  59.  
  60. # git aliases
  61.  
  62. alias gc="cd ~/Downloads/git; git clone "
  63. # alias gc="git clone "
  64. # alias gc="cd /your/git/folder/or/whatever; git clone "
  65.  
  66. ####################################
  67.  
  68. mkdir /stuff
  69. ln -s /repo/tokens /stuff
Add Comment
Please, Sign In to add comment