fatal: Not a git repository (or any parent up to mount point /home)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
What kind of nasty error is this? This seem to me that Git couldn't find any Git info on my workspace. I think this could be a false alarm because I don't have any local Git repository being setup yet. There should be some configuration need to be done.
Searching in Stackoverflow.com I found a guide on how could I import the source from local to Git repository without 'cloning' the remote first. Put in other words, I have the empty repository created then only I push my source into it.
Here is the step:
- Create the remote repository.
- git init.
- git add.
- git commit -m "initial commit".
- git remote add origin
. - git push origin master.
Counting objects: 34, done. Delta compression using up to 4 threads. Compressing objects: 100% (22/22), done. Writing objects: 100% (34/34), 6.57 KiB, done. Total 34 (delta 3), reused 0 (delta 0) remote: bb/acl: huahsin68 is allowed. accepted payload. To https://huahsin68@bitbucket.org/huahsin68/jaassampleproject.git * [new branch] master -> master
No comments:
Post a Comment