googledatalab / datalab

Interactive tools and developer experiences for Big Data on Google Cloud Platform.
Apache License 2.0
974 stars 249 forks source link

cannot find location of Datalab ungit repo ! #1798

Open joshreuben456 opened 6 years ago

joshreuben456 commented 6 years ago

I created and connected to a datalab instance using datalab create. the folder from which I executed contained a datalab/notebooks folder with some .ipynb files. I modified one, and through the UI, saved / checkpointed. I then used ungit from the UI to commit this change. However, I dont see it in the github source repo. So, where is this updated version of the file located ? i can browse to it from the container portmap http://localhost:8081/_proxy/8083/#/repository?path=/content/datalab/notebooks which seems to be a commit ahead of my github repo - (please tell me its not on the container itself). How can I resolve this repository issue ?

nikhilk commented 6 years ago

The git repo associated with the clone on the Datalab VM is a Cloud Source Repository. This is briefly mentioned in the doc at https://cloud.google.com/datalab/docs/how-to/datalab-team and more at https://cloud.google.com/datalab/docs/how-to/working-with-notebooks. Hope those help.

harmon commented 6 years ago

@joshreuben456 Sounds like you just need to click on the local branch in ungit and press "Push".