Updating Codespace with push from loal #26923
-
I already spun up a Codespace on a repo, but I made some changes locally on my machine. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
If you push them into the repository (or in a fork or branch), you can open the Codespace and use either it’s built-in source control support or git from the command line or to pull in the changes. No need to recreate! |
Beta Was this translation helpful? Give feedback.
-
Fantastic! Not sure why that didn’t cross my mind. Loving the feature otherwise. |
Beta Was this translation helpful? Give feedback.
-
Great! As a FYI, you can also drag-and-drop any files from your desktop into the explorer to copy them to the Codespace (even on the web). There’s also a right click gesture to download a folder from a Codespace. I mention git since it can be easier to do if you’ve got changes in both places. |
Beta Was this translation helpful? Give feedback.
If you push them into the repository (or in a fork or branch), you can open the Codespace and use either it’s built-in source control support or git from the command line or to pull in the changes. No need to recreate!