Tag: r

59 votes
30 answers
393 views
How can I add a blank directory to a Git repository?

How can I add a blank directory (that contains no files) to a Git repository?

avatar
Venice
0 1 0 9
asked 07 September, 2021
58 votes
16 answers
375 views
How do I push a new local branch to a remote Git repository and track it too?

I want to be able to do the following: Create a local branch based on some other (remote or local) branch (via

avatar
Roger
0 1 0 9
asked 07 September, 2021
55 votes
30 answers
1.6K views
How can I reset or revert a file to a specific revision?

I have made some changes to a file which has been committed a few times as part of a group of files, but now w

avatar
Hallie
0 1 0 9
asked 07 September, 2021
56 votes
30 answers
1.1K views
How to resolve merge conflicts in a Git repository

I want to resolve merge conflicts in my Git repository. How can I do that?

avatar
Wilber
0 1 0 9
asked 07 September, 2021
53 votes
30 answers
1.1K views
How do I discard unstaged changes in Git?

How do I discard changes in my working copy that are not in the index?

avatar
Omar
0 1 0 9
asked 07 September, 2021
62 votes
15 answers
2.9K views
Move the most recent commit(s) to a new branch with Git

I'd like to move the last several commits I've committed to master to a new branch and take master b

avatar
Dwain
0 1 0 9
asked 07 September, 2021
64 votes
30 answers
339 views
How can I make Git "forget" about a file that was tracked, but is now in .gitignore?

There is a file that was being tracked by Git, but now the file is on the .gitignore list. However, that file

avatar
Hilario
0 1 0 9
asked 07 September, 2021
59 votes
30 answers
2.1K views
How to remove local (untracked) files from the current Git working tree

How do you delete untracked local files from your current working tree?

avatar
Wilfredo
0 1 0 9
asked 07 September, 2021
57 votes
30 answers
1.1K views
How do I check out a remote Git branch?

Somebody pushed a branch called test with git push origin test to a shared repository. I can see the branch wi

avatar
Robt
0 1 0 9
asked 07 September, 2021
62 votes
30 answers
981 views
64 votes
27 answers
1.8K views
57 votes
30 answers
1.2K views
Git: How do I force "git pull" to overwrite local files?

How do I force an overwrite of local files on a git pull? The scenario is the following: A team member is mo

avatar
Carmelina
0 1 0 9
asked 07 September, 2021
63 votes
30 answers
1.6K views
How do I rename a local Git branch?

I don't want to rename a remote branch, as described in Rename master branch for both local and remote Gi

avatar
Chelsea
0 1 0 9
asked 07 September, 2021
54 votes
30 answers
2K views
How do I delete a Git branch locally and remotely?

I want to delete a branch both locally and remotely. Failed Attempts to Delete a Remote Branch $ git branch -d

avatar
Corey
0 1 0 9
asked 07 September, 2021
62 votes
30 answers
1.2K views
How do I undo the most recent local commits in Git?

I accidentally committed the wrong files to Git, but didn't push the commit to the server yet. How can I

avatar
Denese
0 1 0 9
asked 07 September, 2021
56 votes
4 answers
1.5K views
Get a local json file on NativeScript

How to get a local big json data? I have tried this, but I had no success: var sa = require("./shared/resour

avatar
Joseph
0 1 0 9
asked 07 September, 2021
61 votes
1 answers
2.5K views
Hide actionbar on scroll listview

I have an app that has an action bar and a Tabview. Inside the tabview there is a listview. What I want is the

avatar
Hilario
0 1 0 9
asked 07 September, 2021
53 votes
1 answers
2.3K views
NativeScript-Vue rendering RadListView very slow under android and freeze the UI

I have a nativescript-vue app with the RadListView component to display data to the user. Each row of the list

avatar
Tuan
0 1 0 9
asked 07 September, 2021
56 votes
3 answers
1K views
How to implement unit tests in NativeScript using TestBed and Jasmine?

I'm setting up a NativeScript-Angular project, and would like to implement unit tests using Jasmine-Karma

avatar
Carmelina
0 1 0 9
asked 07 September, 2021