The CreatorCon Call for Content is officially open! Get started here.

Jon G Lind
ServiceNow Employee
ServiceNow Employee

I created a new app using the ServiceNow IDE last week and didn't immediately add it to source control. I went back and did so later, using the cmd-shift-p "git:" commands to initialize, commit, set git credentials, set remote origin and push.  

Great!  Except by the time I got around to that push the IDE had correctly decided that there was only one change (bagel.now.ts) and nothing else was considered a change.  This was, actually, correct, but not very helpful for me to, you know, get my code into source control.

JonGLind_0-1729013251251.png

One thing I keep forgetting, since I am used to working with the command line using git locally, is that in the IDE (or VSCode for that matter) there is the Source Control tab on the left and it can be quite useful.  

I was able to go there, see the untracked changes, click the "+" and my changes were staged for commit and push!  Easy!

 

JonGLind_1-1729013357285.png

 

Comments
Diane C
ServiceNow Employee
ServiceNow Employee

Helpful, thank you!

Version history
Last update:
‎10-15-2024 10:30 AM
Updated by:
Contributors