If QR Code label is too long, please set "High" for Error Correct Level so user can scan QR easily.įor scanning QR, we highly recommend using the Iphone Camera app if you have been using Iphone or Ipad. Unlink sharing file and folder when necessary Share with readable or writable permission Insert label and change position and size of label on the go Insert logo, image into branded QR Code Resize QR on the fly without changing their high quality images If they installed Google Drive application, add on will redirect them to file directly inside Google Drive application or web browser They can use their mobile devices to scan QR Code and access Google Drive file or folder directly. After generating QR Code, you send this QR Code to your friends, colleagues or partner. Moreover, you can unlink sharing anytime. cd /C/MyProjects/Project1 git remote add origin /C/Users. Now we just need to connect the two like so. Step 1: Type services in the search box and click Services. CAN WE DOWNLOAD GOOGLE DRIVE FOR MAC WINDOWSE-Rewards also creates 3 new Windows services. However, Google Drive cannot work with an authenticated proxy. You can share with readable or writable permission. Now we go to Google Drive and create a bare git repo (note that the backslash between Google and Drive should be exactly there) cd /C/Users/JoeUser/Google Drive/git git init -bare project1.git This sets up the remote part of our repository. This program can disconnect Google Drive because it can automatically configure your network using a proxy. It’s important to not forget to check this after each git push since otherwise you can mess up the git project files on Google Drive and you’d be left with a mess.You can share your Google Drive file or folder via QR Code easily. It then re-synchs and the remaining files get synched. There’s a simple solution, you just shut down Google Drive and restart it again. On some Windows machines, Google Drive can have trouble to synch all the Git files in one go. There is one major caveat that you should know about (not a show stopper, but important to have control over). Git clone /C/Users/JoeUser/Google\ Drive/git/project1.git To checkout this project from another machine, you simply make sure you have google drive on that machine and type cd /the_location_I_want_to_checkout_the_repo Now you have setup so that when you next time do a “git push” you will do so to Google Drive in the cloud and your code is safe. Git remote add origin /C/Users/JoeUser/Google\ Drive/git/project1.git This sets up the remote part of our repository. Now we go to Google Drive and create a bare git repo (note that the backslash between Google and Drive should be exactly there) cd /C/Users/JoeUser/Google\ Drive/git Now, in the projects folder, perform the following git commands git init (note that in order to reach another volume than C: you can just do CD /D/MyProjects/Project1 etc) In the git bash command window, CD yourself to your project folder (or whatever folder you want to have git control over). Most often, you can just right-mouse-button click and press “Git Bash” Now, go to your code folder on your windows machine and start the Git Bash window (looks like a CMD-window). Obviously, this can also be done from Windows Explorer (new folder). You want this folder as git produces a lot of files and you may want other stuff on your google drive besides your code repository. Now, create a folder in your Google Drive folder called “git”. If everything went OK, you now have a Google Drive folder in your “user” folder under your windows user folder like so (where your username shows up instead of JoeUser as in this example) C:\Users\JoeUser\Google Drive Get a google account at /drive and then download google drive for windows (you’ll find the link at when you are logged on with your google account This tutorial of setting up Git for Google Drive is for Windows, though the procedure for *nix based systems is almost the same except for the folder structure. The setup isn’t even that hard but there are some places you can stumble. So then, it’s really great to see that there’s a (quite) simple way of using Google Drive as the code repository for Git. So far I’ve been having a private repository at a host, but that’s not uber practical either since backup is non-existing and you eventually will feel the need / lust for re-installing that system. While there are many public repositories out there, they all come with a caveat do you really want to host your private code with something you don’t know will be there tomorrow.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |