Comments (7)
Perhaps create a fork of the repo, fix the readme with the proper syntax and create a PR?
from noted.
Just a tidbit: The -C
option and the regular git <repo_path> <clone_output_dir>
, while seem to do the same thing, they actually aren't:
-C
Run as if git was started in instead of the current working directory. When multiple -C options are given, each subsequent non-absolute -C is interpreted relative to the preceding -C . If is present but empty, e.g. -C "", then the current working directory is left unchanged.
This option affects options that expect path name like --git-dir and --work-tree in that their interpretations of the path names would be made relative to the working directory caused by the -C option. For example the following invocations are equivalent:
git --git-dir=a.git --work-tree=b -C c status git --git-dir=c/a.git --work-tree=c/b status
Good day1
from noted.
As a workaround, you can manually create your $HOME/Documents
, then cd
into it and run git clone [email protected]:scottashipp/noted.git
Not sure how it is on mac but the according to git documentation the correct syntax should be the one below. I couldn't find any reference for parameter -C
.
git clone <git_repo_url> <your_custom_directory_name>
from noted.
Thank you for your answer, yes it's what I did and it works 🙂
I couldn't find ref either for the -C option but it is in the readme :
from noted.
@SitramSoft @codams The -C
flag is documented in the git man page here. I think it'd be fine to switch over to git clone [email protected]:scottashipp/noted.git $HOME/Documents
since that is simpler, and should work just as well for the particular use case in the README.
from noted.
You are right, it is a valid option.
from noted.
Done 😀
from noted.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from noted.