Could you please help me?
I googled youcto grpc and there was a information about it and it is in master branch:
https://layers.openembedded.org/layerindex/recipe/67896/
So, I tried to git it using:
git clone git://git.yoctoproject.org/poky
however, I couldn't find anything related with grpc which are grpc folder and recipes-support/grpc/grpc_1.4.3.bb file at all.
(There are lots of folder in meta/recipes-support)
Could you please let know what I should do and what I did wrong thing?
Thank you.
//Daum
GRPC is not part of POKY it is in meta-iot-cloud/recipes-support/grpc/ layer.
git clone github.com/intel-iot-devkit/meta-iot-cloud.git
clone the above git to your sources/ dir path where the all other layers present like meta-openembedded,poky etc.
Then open the below path and add your layer path
vi build/conf/bblayers.conf
Related
I tried to switch from a HTTPS to SSH repo using git. Below are the first commands I used.
Then, when I tried to add a branch to the staging area, I got the following messages:
I am not able to push anything or add any commits to git from my command line either. I get an error saying "could not read remote repository". Could someone please help me? What should I do now? I am new to git and I don't want to dig myself in a deeper hole!
Check for a .git/ subfolder in:
your current working directory (where you switch to SSH)
your parent folders
If you see one in any parent folder, that would make your current working directory a nested Git repository.
Ideally, there should not be any parent Git repository above your own: see if you can remove those parent .git folders (or move them elsewhere).
I am trying to copy a github repository into my "documents" folder on my macbook pro but have continually received the error message below. I am brand new to github and am using it for the odin project. Any tips or tricks to work through this obstacle? Thank you.
Collins-MacBook-Pro:~ collinremmers$ cd documents
Cj-MacBook-Pro:documents cj01$ git clone git#github.com:cjremm01/git_test.git
Cloning into 'git_test'...
/Users/cj01/.ssh/config: line 3: Bad configuration option: identifyfile
/Users/cj01/.ssh/config: terminating, 1 bad configuration options
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Try to clone it with the URL and not via SSH
git clone https://github.com/cjremm01/git_test
I was trying to upload one of my Jupyter Notebook files on GitHub, but it's taking forever to upload.
File size is also not that big. It's about 17KB. Also getting problem for this notebook only.
Here's the screen shot.
Any kind of help or suggestions are highly appreciated.
Try using Git Bash to push your code/make changes instead of uploading files directly on GitHub (it is less prone to errors and is quite comfortable at times - takes less time as well!), for doing so, you may follow the below-given steps:
Download and install the latest version of Git Bash from here - https://git-scm.com/
Right-click on any desired location on your system.
Click “Git Bash Here”.
git config --global user.name “your name”
git config --global user.email “your email”
Go back to your GitHub account – open your project – click on “clone” – copy HTTPS
link.
git clone PASTE HTTPS LINK.
Clone of your GitHub project will be created on your computer location.
Open the folder and paste your content.
Make sure content is not empty
Right-click inside the cloned folder where you have pasted your content.
Click “Git Bash Here” again.
You will find (master) appearing after your location address.
git add .
Try git status to check if all your changes are marked in green.
git commit --m “Some message”
git push origin master
Hope this helps! Good luck!
You could try and:
clone the repository, add the file locally, commit and push
check on github.com if your remote repository has a .gitattributes file with lfs directives in it.
Maybe that repository, managed by LFS, has reached some upload limit which would prevent any new upload.
I have tried uplaoding my project using Git bash but getting an error.
[1]: https://i.stack.imgur.com/H1sjx.png
I've also looked at the links provided so far but I'm still getting no where.
Thanks in Advance !
You clearly seem to be very new at Git. I would HIGHLY recommend you look at a tutorial and try and understand for yourself what your problem is. With that said, here is your solution
Assuming you have properly created and committed to a local git repository, add a remote repository as such git remote add origin https://github.com/link-to-your-git-repo.git. Then push everything with git push -u origin master.
Your problem is that you have a misunderstanding of how to use the Git Bash. I highly recommend you read this at the minimum.
https://git-scm.com/book/en/v2/Getting-Started-The-Command-Line
You may classify my question to the layman's level, but I am using Git for the first time (til now I used TortoiseSVN) and I am not sure how I can check out an existing project from a server, so as to have it available on my local machine in a folder. I have installed Git Bash. Should I run it (Gui), select New Archiv and then specify the path of the project in the server? Is there a better Git framework to install, which is appropriate to make the same task more easily?
I would appreciate also some screenshots if needed in the answers.
Update: I have installed also TortoiseGit. I want to create a new clone by a right click in a directory, but the new Clone is not available after the right click. Does it need additional configuration? If no, what should I do from TortoiseGit to checkout an existing project?
I'd usually recommend learning git from command line. But if you are already familiar with TortoiseSVN then TortoiseGIT is a good tool for you.
Also, I think you should learn git very well. I can recommend the book Pro Git.
To "check out" a git repository is called clone in the git world (you will get a whole copy of the server repository). This can be done either from command line or TortoiseGIT.
git bash:
$ cd /path/to/my/projects
$ git clone url-to-server-repo
Update:
Since you get the "normal" TortoiseGit menu (without clone option), it seems you already have a local git repository. You probably created an empty git repository by mistake. Look for a hidden directory .git in the project directory or any parent directory.
right click on the folder (not right click on nothing in the folder, the icon of the folder you want to clone INTO from the parent directory) and select clone from the menu.
FYI:
clone = create a copy of a repository.
checkout = change the current state of an existing repo to a saved state.
so if you have a repo w/ 3 commits (A,B,C) when you clone the repo you will be at the most current state (C). if you want to see the previous state of the repo you would git checkout B. if you want to see the repo's initial state you would git checkout A
hope that helps.