forked from livibetter/ghclone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
54 lines (24 loc) · 1.11 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
ghclone
ghclone is a simple Bash function to help quickly clone GitHub and Gist
repository via SSH, and change directory into the newly cloned repository, so
the user can start explore the clone.
SUMMARY
- only clone one
- accepts web page, HTTPS clone, or SSH clone <URL>
- cd into the cloned directory, if run as function
- optional cloned [name], you can give a meaningful name for Gist repository.
USAGE EXAMPLE
/tmp $ ghclone <URL> [name]
[cloning]
/tmp/[name] $
INSTALLATION
You can install with Makefile, for example:
$ make [PREFIX=/usr/local] install
$ make uninstall
Although you can run it as script, but you will have to manually change
directory, you may want to source it from your ~/.bashrc.
HISTORY
ghclone was created as part of dotfiles/bin in February, 2014. In March, 2018,
it got its own repository.
COPYRIGHT
ghclone is licensed under the MIT License.